//
//  HMNetWorkManager.m
//  什么值得买
//
//  Created by SuperJJ on 16/8/17.
//  Copyright © 2016年 SuperJJ. All rights reserved.
//

#import "HMNetWorkManager.h"

@implementation HMNetWorkManager


+ (instancetype)sharedNetWorkManager
{
    static HMNetWorkManager *instance;
    
    static dispatch_once_t onceToken;
    
    dispatch_once(&onceToken, ^{
        
        instance = [[HMNetWorkManager alloc] init];
        
        instance.responseSerializer.acceptableContentTypes = [NSSet setWithObjects:@"application/json", @"text/json", @"text/javascript", @"text/html", nil];
    });
    return instance;
}

@end
